package com.pic.mgt.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.pic.mgt.manager.terminal.BasicTerminalInfoBean;


public interface ITerminalMgtDao extends IBasicDao {
	// 資料表內的欄位
	public static final String _terminalId = "terminal_id";
	public static final String _clientType = "dep_type";
	public static final String _createTime = "timestamp";
	public static final String _effectiveStartTime = "eff_s_date";
	public static final String _effectiveEndTime = "eff_e_date";
	
	public BasicTerminalInfoBean findTerminalBasicInfoByTerminalId(String terminalId)
			throws DataAccessException;
	
	public List<BasicTerminalInfoBean> findAllTerminalsBasicInfo()
			throws DataAccessException;
	
	public int deleteByTerminalId(String terminalId) throws DataAccessException;
}
